/**
 * <p>Title: EasyuiTreeNode.java</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2017</p>
 * @author lijian
 * @date 2017年3月12日下午7:04:58
 * @version 1.0
 */
package com.lijian.common.easyui.tree;

import java.io.Serializable;

/**
 * <p>
 * Title: EasyuiTreeNode.java
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2017
 * </p>
 * 
 * @author lijian
 * @date 2017年3月12日下午7:04:58
 * @version 1.0
 */
public class EasyuiTreeNode implements Serializable {
	/** serialVersionUID */
	private static final long serialVersionUID = -6569140297332873143L;
	private long id;
	private String text;
	/**
	 * 如果当前节点为父节点，state应为“closed”、如果是叶子节点“open”
	 */
	private String state;

	public EasyuiTreeNode(long id, String text, String state) {
		super();
		this.id = id;
		this.text = text;
		this.state = state;
	}

	public EasyuiTreeNode() {
		super();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
